package com.lc.rongzecaifu.conn;

import android.util.Log;

import com.google.gson.Gson;
import com.zcx.helper.http.AsyCallBack;
import com.zcx.helper.http.note.HttpInlet;

import org.json.JSONObject;

import java.util.List;

/**
 * Created by Administrator on 4/26/2016.
 */
@HttpInlet("user/borrow_repayment")
public class JsonBorrowHuankuanLijidetail extends HYAsyGet<JsonBorrowHuankuanLijidetail.Info> {
    public String access_token;


    public String uid;
    public String id;
public String sort_order;

    //    String p,
    public JsonBorrowHuankuanLijidetail(String access_token, String uid, String id,String sort_order, AsyCallBack<Info> asyCallBack) {
        super(asyCallBack);
        this.access_token = access_token;

        this.uid = uid;
        this.id = id;
        this.sort_order=sort_order;
    }


    @Override
    protected Info parser(JSONObject object) {
        Log.d(object.toString(), "asdkljf");

        Info info = new Info();
        Gson gson = new Gson();
        info = gson.fromJson(object.toString(), Info.class);

        TOAST = object.optString("tips");
        return info;
    }

    public static class Info {
      public String tips;


    }
}